#pragma

#include<iostream>
#include<string>
#include"Gun.h"

using namespace std;

class Solider
{
public:
    Solider(std::string name);
    ~Solider();
    void addBulletToGun(int num);
    void addGun(Gun * ptr_gun);//添加枪的实类
    bool fire();

private:
    std::string _name;
    Gun * _ptr_gun;
};

